$(function() {
    $(".kuaidi li").click(function() {
        $(this).addClass("current").siblings().removeClass("current");
        $(".me-bb i").html($(this).children("span").html())
    });
    $(".m-pay li").click(function() {
        $(this).addClass("current").siblings().removeClass("current");
    });
    $(".me-commit").click(function() {
    	alert("提交成功!");
    });
    var jptwo = document.getElementById("jptwo");
    var jpthree = document.getElementById("jpthree");
        window.onload=function(){
            if(document.cookie){
             var jpone=document.cookie.split(";")[0].split("=")[1];
             if(jpone) {
                jptwo.style.display="inline-block";
                jpthree.style.display="none";
            }}else{
                jptwo.style.display="none";
                jpthree.style.display="inline-block";
            }
            };

});